<template>
  <div>
      <MyHeader />
      <div class="changeChoose">
          <div style="font-size:0.5rem;text-align:center">请选择您的变更事项</div>
          <div :class="chooseData.comName?'chooseDiv2':'chooseDiv'"  @click="chooseData.comName=!chooseData.comName">
               <div class="chooseTitle">企业名称</div>
               <div class="chooseMain">变更企业名称，应首先办理“名称变更”业务，并在获得已核准的新名称后才能进入办理。<br/>该变更事项涉及章程条款修改，系统会自动进行章程备案。</div>
          </div>  
          <div :class="chooseData.comAddress?'chooseDiv2':'chooseDiv'"  @click="chooseData.comAddress=!chooseData.comAddress">
               <div class="chooseTitle">住所</div>
               <div class="chooseMain">一般您选择的公司住所（经营场所）应为有房产证的合法建筑，且房产证记载的用途与注册公司的使用用途一致。</div>
          </div>  
          <div :class="chooseData.comScope?'chooseDiv2':'chooseDiv'"  @click="chooseData.comScope=!chooseData.comScope">
               <div class="chooseTitle">经营范围</div>
               <div class="chooseMain">如您变更的经营范围内容含有前置许可经营项目，请到网上或现场办理。</div>
          </div>  
          <div :class="chooseData.comTerm?'chooseDiv2':'chooseDiv'"  @click="chooseData.comTerm=!chooseData.comTerm">
               <div class="chooseTitle">营业期限</div>
               <div class="chooseMain">如果您要进行经营期限变更,系统会默认勾选公司章程,进行章程备案。</div>
          </div>  
          <Button @click="next()" class="mainBtn" size="large" long type="primary">下一步</Button>
          <div>
            <MyFooter/>
          </div>
      </div>
  </div>
</template>

<script>
import MyHeader from '../../components/MyHeader2.vue'
import MyFooter from "../../components/MyFooter.vue";
import request from "../../utils/request.js";
export default {
  data() {
    return {
      chooseData:{
        comName:false,
        comAddress:false,
        comScope:false,
        comTerm:false
      }
    };
  },
  methods: {
    next(){
      console.log(this.chooseData)
      this.$router.push({path: '/changeBody', query: {chooseData: JSON.stringify(this.chooseData)}})
    }
  },
  components: {
    MyHeader,MyFooter
  }
};
</script>
<style>
.changeChoose {
 padding:0.5rem;
}
.chooseDiv {
   border:1px solid #DEDEDE;
   border-left:5px solid #DEDEDE;
   padding:0.4rem;
   border-radius: 5px;
   margin-top:0.5rem;
 }
 .chooseDiv2 {
   border:1px solid #7DCC26;
   border-left:5px solid #7DCC26;
   padding:0.4rem;
   border-radius: 5px;
   margin-top:0.5rem;
   background:url(../../assets/img/check.png) no-repeat right top;
   background-size:26px 26px;
 }
 .chooseTitle {
font-size:0.6rem;
 }
 .chooseMain {
   color:#918C8C;
 }
.mainBtn {
  height:1.75rem;font-size:0.64rem;
  margin-top:0.6rem;
}

</style>

